'use strict';

const Service = require('egg').Service;

class ClassService extends Service {
  //获取班级列表
  async get() {
    let res = await app.model.Class.findAll({
			
			// include: {
			// 	model: app.model.Class
			// }
		})
      return res  
  }
}

module.exports = ClassService;
